package cn.com.zero.manager.gateway.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.Set;

/**
 * @author Yang Yao
 * @version 1.0.0
 * @Description 灰度池（使用灰度用户的集合）自定义配置类
 * @createTime 2023/3/10 17:29
 */
@Configuration
@ConfigurationProperties(prefix = "gary")
public class CustomProperty {

    /**
     * 灰度池里的管理端用户集合
     */
    private Set<String> userIds;

    /**
     * 灰度池里的用户端用户集合
     */
    private Set<String> customerIds;

    public Set<String> getUserIds() {
        return userIds;
    }

    public void setUserIds(Set<String> userIds) {
        this.userIds = userIds;
    }

    public Set<String> getCustomerIds() {
        return customerIds;
    }

    public void setCustomerIds(Set<String> customerIds) {
        this.customerIds = customerIds;
    }
}
